﻿using ArtMath.Attribute;
using ArtMath.Component.Manager;
using ArtMath.Core.Helper;
using ArtMath.Resource;
using ArtMath.Setting;
using System;
using System.ComponentModel;
using System.Drawing;

namespace ArtMath.Component.Point
{
    /// <summary>
    /// 交点（适用于直角坐标系）
    /// </summary>
    [Serializable]
    public class RCrossoverPoint : CrossoverPointBase
    {
        public RCrossoverPoint(SketchPad pad, string name, LineBase line1, LineBase line2, CrossoverPointsManagerBase mgr = null, bool addToList = true) : base(pad, name, line1, line2, mgr, addToList)
        {
            CoordinateDisplayer = new PropertyDisplayer(this, Resources.Translate("Coordinate"), "({0}, {1})", "X", "Y");
        }
    }
}
